from core import autoService


def send(num):
    print("发送验证码成功!",num)

autoService.setNum("18224208191")
autoService.init("测试服务")

autoService.errorCheck(1 == 1, "测试不通过！")
# autoService.errorCheck(1==0,"api错误！","错误信息:123465")

autoService.sms_send(send, "18224208191")
print("验证码发送成功")